Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix quadtree AABB issue #337

Merged
merged 1 commit into from
Jul 23, 2024
Merged

Conversation

Doubleumc
Copy link
Contributor

About the pull request

Mirror of cmss13-devs/cmss13#6782
Quadtree AABB testing now correctly uses the Y bounds to test if the Y coordinate is in range.

Explain why it's good for the game

Bug bad. Shouldn't use the X coordinate to determine if you're in bounds of the Y coordinate. PvP was fortunate that there's so many people the qtree gets broken up into roughly squares, but for PvE it tends to stay the shape of the map, which is usually rectangular.

Testing Photographs and Procedure

Screenshots & Videos

Put screenshots and videos here with an empty line between the screenshots and the <details> tags.

Changelog

🆑
fix: sounds & motion detectors should be more reliable
/:cl:

@Doubleumc Doubleumc requested a review from fira as a code owner July 23, 2024 03:41
@github-actions github-actions bot added the fix label Jul 23, 2024
@Doubleumc Doubleumc merged commit 5c0b967 into cmss13-devs:master Jul 23, 2024
34 checks passed
@Doubleumc Doubleumc deleted the fix-quadtree-aabb branch July 23, 2024 03:51
cm13-github added a commit that referenced this pull request Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant